package com.yisu.auction.manager.core.mapper;

import com.yisu.auction.ewf.entity.SystemConfig;
import com.yisu.auction.manager.domain.request.systemConfigPackage.SystemConfigRequest;

import java.util.List;

public interface SystemConfigMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SystemConfig record);

    int insertSelective(SystemConfig record);

    SystemConfig selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SystemConfig record);

    int updateByPrimaryKey(SystemConfig record);

    /**
     * author:黄萧林
     * Business Description:通过配置key删除
     * @param configKey
     * @return
     */
    int deleteByConfigKey(String configKey);

    /**
     * author:黄萧林
     * Business Description:分页获取系统配置信息
     * @param systemConfigRequest
     * @return
     */
    List<SystemConfig> getSystemConfigInfoByPage(SystemConfigRequest systemConfigRequest);
}